package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.entity.TimeCount;
import com.zzyl.vo.ReservationVo;

import java.time.LocalDateTime;
import java.util.List;

public interface CustomerReservationService {
    void addReservation(ReservationDto reservationDto);

    PageResponse<ReservationVo> getByPage(Integer status, Integer pageNum, Integer pageSize);

    void cancel(Long id);

    Integer getCancelledReservationCount();

    List<TimeCount> getCountByTimeCount(LocalDateTime time);
    void updateReservationStatus(LocalDateTime timeNow);
}
